package com.dpf.hou.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dpf.hou.pojo.Notice;
import org.apache.ibatis.annotations.Delete;
import org.springframework.stereotype.Repository;

@Repository
public interface NoticeMapper extends BaseMapper<Notice> {
    @Delete("delete from notice where nid = #{nid}")
    boolean deleteById(Integer nid);

}
